package ejb.Servlet;
/**
 * @author Wei, Yu, Igor The Coordinates class represents a point object in the
 *         real world.
 * 
 */
public class Coordinates {
	/**
	 * Unique Id field. 
	 *
	 */	
	private int id;	
	/**
	 * Latitude field.
	 *
	 */	
	private float lat;
	/**
	 * Latitude field.
	 *
	 */	
	private float lon;
	/**
	 * Constructor of the Coorinates class.
	 * @param id the identification of the coordinates
	 * @param lat the latitude of the coordinates
	 * @param lon the longitude of the coordinates
	 */	
	public Coordinates(int id, float lat, float lon) {
		this.id = id;
		this.lat = lat;
		this.lon = lon;
	}
	/**
	 * Id field accesser.
	 * @return id
	 */	
	public final int getId() {
		return this.id;
	}

	/**
	 * Lat field accesser.
	 * @return lat
	 */	
	public final float getLat() {
		return this.lat;
	}

	/**
	 * Lon field accesser.
	 * @return lon
	 */	
	public final float getLon() {
		return this.lon;
	}
}
